try:
    from setuptools import setup, find_packages
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages

setup(
    name='mtp',
    version="",
    #description='',
    #author='',
    #author_email='',
    #url='',
    install_requires=[
        "Pylons>=0.9.6.1", 
        "SQLAlchemy>=0.4.2", 
        "lxml>=2.0.2", 
        "Creoleparser>=0.3.3",
    ],
    packages=find_packages(exclude=['ez_setup']),
    include_package_data=True,
    test_suite='nose.collector',
    package_data={'mtp': ['i18n/*/LC_MESSAGES/*.mo']},
    #message_extractors = {'mtp': [
    #        ('**.py', 'python', None),
    #        ('templates/**.mako', 'mako', None),
    #        ('public/**', 'ignore', None)]},
    entry_points="""
    [paste.app_factory]
    main = mtp.config.middleware:make_app

    [paste.app_install]
    main = pylons.util:PylonsInstaller

    [console_scripts]
    mtp_conf = mtp.tools.mtp_conf:run

    [mtp.macros]
    toc = mtp.lib.macros:toc
    test = mtp.lib.macros:test
    list-macros = mtp.lib.macros:list_macros
    list-pages = mtp.lib.macros:list_pages

    [mtp.plugins]
    attachments = mtp.lib.plugins.attachments:AttachmentsPlugin
    history = mtp.lib.plugins.history:HistoryPlugin
    configerator = mtp.lib.plugins.configerator:ConfigeratorPlugin
    comments = mtp.lib.plugins.comments:CommentsPlugin
    permissionator = mtp.lib.plugins.permissionator:PermissionatorPlugin
    rss = mtp.lib.plugins.rss:RSSPlugin
    tags = mtp.lib.plugins.tags:TagsPlugin
    pagetags = mtp.lib.plugins.pagetags:PageTagsPlugin
    wikistructure = mtp.lib.plugins.wikistructure:WikiStructurePlugin
    usermgr = mtp.lib.plugins.usermgr:UserManagerPlugin

    [mtp.auth_plugins]
    local_password = mtp.lib.plugins.auth.localpassword:LocalPasswordAuthPlugin
    """,
)
